<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用 ESM 模式创建创建一个 Vue 应用</title>
</head>
<body>
<div id="app">{{ msg }}</div>
</body>
<script type="module">

    // import { createApp, ref } from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
    import { createApp, ref } from '../../01_use_build_tool/vue-project/node_modules/vue/dist/vue.esm-browser.js'
    const app = createApp({
        setup(){
            let msg = "Hello, World!"
            return {msg}
        }
    })

    app.mount("#app")
</script>
</html>